<div>

    <div class="ibox ">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="查询条件" namespace="parkingBox"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;"></div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-3">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请输入岗亭编号','parkingBox')"
                            v-model="parkingBoxInfo.conditions.boxId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-4">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请输入岗亭名称','parkingBox')"
                            v-model="parkingBoxInfo.conditions.boxName" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-3">
                    <select class="custom-select" v-model="parkingBoxInfo.conditions.tempCarIn">
                        <option selected value="">{{vc.i18n('请选择临时车进场','parkingBox')}}</option>
                        <option value="Y">{{vc.i18n('是','parkingBox')}}</option>
                        <option value="N">{{vc.i18n('否','parkingBox')}}</option>
                    </select>
                </div>
                <div class="col-sm-2">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryParkingBoxMethod()">
                        <vc:i18n name="查询" namespace="parkingBox"></vc:i18n>
                    </button>
                </div>
            </div>
        </div>

    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="岗亭信息" namespace="parkingBox"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">
                <button type="button" class="btn btn-primary btn-sm" v-if="vc.hasPrivilege('502024030329350050')" v-on:click="_openAddParkingBoxModal()">
                    <i class="fa fa-plus"></i>添加
                </button>
            </div>
        </div>
        <div class="ibox-content">
            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">
                            <vc:i18n name="岗亭编号" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="岗亭名称" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="停车场" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="临时车进场" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="临时车审核" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="是否收费" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="已在场" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="未在场" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="备注" namespace="parkingBox"></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name="操作" namespace="parkingBox"></vc:i18n>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="parkingBox in parkingBoxInfo.parkingBoxs">
                        <td class="text-center">{{parkingBox.boxId}}</td>
                        <td class="text-center">{{parkingBox.boxName}}</td>
                        <td class="text-center">{{parkingBox.paNum}}</td>
                        <td class="text-center">{{parkingBox.tempCarIn== 'Y'?'是':'否'}}</td>
                        <td class="text-center">{{parkingBox.tempAuth== 'Y'?'是':'否'}}</td>
                        <td class="text-center">{{parkingBox.fee == 'Y'?'是':'否'}}</td>
                        <td class="text-center">{{parkingBox.blueCarIn== 'Y'?'可进场':'不可进场'}}</td>
                        <td class="text-center">{{parkingBox.yelowCarIn== 'Y'?'可出场':'不可出场'}}</td>
                        <td class="text-center">{{parkingBox.remark}}</td>
                        <td class="text-center">
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-if="vc.hasPrivilege('502024030341830056')" v-on:click="_parkingBoxArea(parkingBox)">
                                    <vc:i18n name="共享岗亭" namespace="parkingBox"></vc:i18n>
                                </button>
                            </div>
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-if="vc.hasPrivilege('502024030355080058')" v-on:click="_openParkingAreaControl(parkingBox)">
                                    <vc:i18n name="控制台" namespace="parkingBox"></vc:i18n>
                                </button>
                            </div>
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-if="vc.hasPrivilege('502024030379430052')" v-on:click="_openEditParkingBoxModel(parkingBox)">
                                    <vc:i18n name="修改" namespace="parkingBox"></vc:i18n>
                                </button>
                            </div>
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-if="vc.hasPrivilege('502024030362420054')"
                                    v-on:click="_openDeleteParkingBoxModel(parkingBox)">
                                    <vc:i18n name="删除" namespace="parkingBox"></vc:i18n>
                                </button>
                            </div>
                        </td>
                    </tr>
                </tbody>

            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>
    </div>
    <vc:create path="car/addParkingBox" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="car/editParkingBox"></vc:create>
    <vc:create path="car/deleteParkingBox"></vc:create>
</div>